<ul class="topnav menu-left-nest" style="margin: -14px 10px 10px 10px !important;">
    <li>
        <a class="tooltip-tip ajax-load <?php echo ($action == 'index' && $controller == 'index') ? 'active-menu' : ''?>" href="<?php echo site_url()?>" title="Trang chủ">
            <i class="icon-window"></i>
            <span>Trang chủ</span>

        </a>
    </li>
    <li>
        <a class="tooltip-tip ajax-load <?php echo $action == 'place' ? 'active-menu' : ''?>" href="<?php if($level == 0):?><?php echo site_url('place')?><?php else:?>javascript: void(alert('Bạn không có quyền này'))<?php endif;?>" title="Mail">
            <i class="icon icon-location"></i>
            <span>Địa điểm</span>
        </a>
    </li>

    <li>
        <a class="tooltip-tip ajax-load <?php echo $action == 'device' ? 'active-menu' : ''?>" href="<?php if($level == 0):?><?php echo site_url('device')?><?php else:?>javascript: void(alert('Bạn không có quyền này'))<?php endif;?>" title="Mail">
            <i class="fontawesome-qrcode"></i>
            <span>Thiết bị</span>
        </a>
    </li>

    <li>
        <a class="tooltip-tip ajax-load <?php echo ($action == 'index' && $controller == 'user') ? 'active-menu' : ''?>" href="<?php if($level == 0):?><?php echo site_url('user')?><?php else:?>javascript: void(alert('Bạn không có quyền này'))<?php endif;?>" title="Mail">
            <i class="entypo-users"></i>
            <span>Nv quản lý</span>
        </a>
    </li>

</ul>